package com.daiyang.Config;

import com.daiyang.model.Dog;
import com.daiyang.myImportSelector.MyImportSelector;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration

public class DogConfig {
    @Bean
    public Dog dog  () {
        return new Dog("xiaogou",1);
    }
}
